package day05;
//九九乘法表
/*
println:输出并换行
print:输出不换行
" "用空格做缩进会产生问题，错行，不建议用，建议用\t,固定缩进

 */
public class MultiTable {
    public static void main(String[] args) {
        for (int num =1;num<=9;num++){
            for (int i =1;i<=num;i++){
                System.out.print(i+"*"+num+"="+i*num+"\t");
            }
            System.out.println();
        }
        for (int num=9;num>=1;num--){
            for (int i=1;i<=num;i++){
                System.out.print(i+"*"+num+"="+i*num+"\t");
            }
            System.out.println();
        }

    }
}
